package com.douwong.student.model;


import com.douwong.student.enums.FileMsgType;

public class FileManager {

	public long PartCount;// 分包数目
	public long PartSize;// 包大小
	public String SendID;// 随机的ID（唯一）
	public long Length;// 文件总长度
	public String FileName;//文件名
	public String SendName;
	public int Port; // 文件通信端口
	public boolean IsShare; // 是否共享
	public boolean IsFinish;//是否完成
	public FileMsgType DataType;//数据类型DataType
	public String OtherInfor;//其他的信息
	public String CreateTime;//文件创建的日期
	public String filePath;
	public boolean isLoading=false;
	public boolean isPause=false;
	public boolean isLoaded=false;
	public boolean isExist=false;
	public boolean isExist() {
		return isExist;
	}
	public void setExist(boolean isExist) {
		this.isExist = isExist;
	}
	public long currentPro;
	public String getUpLoader() {
		return SendName;
	}
	public void setUpLoader(String upLoader) {
		this.SendName = upLoader;
	}
	public String getOtherInfor() {
		return OtherInfor;
	}
	public void setOtherInfor(String otherInfor) {
		OtherInfor = otherInfor;
	}
	public String getCreateTime() {
		return CreateTime;
	}
	public void setCreateTime(String createTime) {
		CreateTime = createTime;
	}
	public boolean isLoading() {
		return isLoading;
	}
	public void setLoading(boolean isLoading) {
		this.isLoading = isLoading;
	}
	public boolean isPause() {
		return isPause;
	}
	public void setPause(boolean isPause) {
		this.isPause = isPause;
	}
	public boolean isLoaded() {
		return isLoaded;
	}
	public void setLoaded(boolean isLoaded) {
		this.isLoaded = isLoaded;
	}
	public long getCurrentPro() {
		return currentPro;
	}
	public void setCurrentPro(long currentPro) {
		this.currentPro = currentPro;
	}
	public String getSendID() {
		return SendID;
	}
	
	public String getFilePath() {
		return filePath;
	}
	public void setFilePath(String filePath) {
		this.filePath = filePath;
	}
	

	public long getPartCount() {
		return PartCount;
	}
	public void setPartCount(long partCount) {
		PartCount = partCount;
	}
	public long getPartSize() {
		return PartSize;
	}
	public void setPartSize(long partSize) {
		PartSize = partSize;
	}
	public String SendID() {
		return SendID;
	}
	public void setSendID(String partID) {
		SendID = partID;
	}
	public long getLength() {
		return Length;
	}
	public void setLength(long length) {
		Length = length;
	}
	public String getFileName() {
		return FileName;
	}
	public void setFileName(String fileName) {
		FileName = fileName;
	}
	public int getPort() {
		return Port;
	}
	public void setPort(int port) {
		Port = port;
	}
	public boolean isIsShare() {
		return IsShare;
	}
	public void setIsShare(boolean isShare) {
		IsShare = isShare;
	}
	public boolean isIsFinish() {
		return IsFinish;
	}
	public void setIsFinish(boolean isFinish) {
		IsFinish = isFinish;
	}
	public FileMsgType getDataType() {
		return DataType;
	}
	public void setDataType(FileMsgType dataType) {
		DataType = dataType;
	}
	
}
